From 345a97c4db3f4a43bb77b51f8c7975a48ddbc13b Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 14 Jul 2006 10:23:04 +0100 Subject: [PATCH] [powerpc] [xend] PPC doesn't support ballooning yet Signed-off-by: Hollis Blanchard --- tools/python/xen/xend/XendDomainInfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 14f9f4311a..48d6b67d5e 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1284,8 +1284,9 @@ class XendDomainInfo: balloon.free(m) init_reservation = self.info['memory'] * 1024 - if os.uname()[4] == 'ia64': - # Workaround until ia64 properly supports ballooning. + if os.uname()[4] in ('ia64', 'ppc64'): + # Workaround for architectures that don't yet support + # ballooning. init_reservation = m xc.domain_memory_increase_reservation(self.domid, init_reservation, -- 2.30.2